<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Teams extends CI_Controller {

    public function index() {
        $this->lang->load('breadcrumb', 'estonian');
        $this->load->model('Team_model', 'TeamModel');
        $data['teams'] = $this->TeamModel->fetchAll();
        $this->load->template('teams', $data);
    }

}